import request from '@/utils/request'


export const ioTypeListService = () => {
    return request.get('/ioTypes/list')
}

export const ioTypeAddService = (ioTypeData) => {
    return request.post('/ioTypes', ioTypeData)
}


export const ioTypeUpdateService = (ioTypeData) => {
    return request.put('/ioTypes', ioTypeData)
}


export const ioTypeDeleteService = (id) => {
    return request.delete('/ioTypes?id=' + id)
}